package cn.edu.ujn.liuklab3.entity;

import org.springframework.stereotype.Component;

import java.io.Serializable;
@Component
public class Restaurant implements Serializable {
    private static final long serialVersionUID = -23716868557005164L;

    private Integer restId;

    private String restName;

    @Override
    public String toString() {
        return "Restaurant{" +
                "restId=" + restId +
                ", restName='" + restName + '\'' +
                ", address='" + address + '\'' +
                ", restPhone='" + restPhone + '\'' +
                ", score=" + score +
                ", start=" + start +
                ", rows=" + rows +
                '}';
    }

    private String address;

    private String restPhone;

    private Integer score;
    private Integer start;
    private Integer rows;

    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getRows() {
        return rows;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }


    public Integer getRestId() {
        return restId;
    }

    public void setRestId(Integer restId) {
        this.restId = restId;
    }

    public String getRestName() {
        return restName;
    }

    public void setRestName(String restName) {
        this.restName = restName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRestPhone() {
        return restPhone;
    }

    public void setRestPhone(String restPhone) {
        this.restPhone = restPhone;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

}

